package com.ruoyi.project.projectCategory.service;

import java.util.List;
import com.ruoyi.project.projectCategory.domain.ProjectCategory;
import com.ruoyi.common.core.domain.Ztree;

/**
 * projectCategoryService接口
 * 
 * @author xzshan
 * @date 2020-05-26
 */
public interface IProjectCategoryService 
{
    /**
     * 查询projectCategory
     * 
     * @param id projectCategoryID
     * @return projectCategory
     */
    public ProjectCategory selectProjectCategoryById(Long id);

    /**
     * 查询projectCategory列表
     * 
     * @param projectCategory projectCategory
     * @return projectCategory集合
     */
    public List<ProjectCategory> selectProjectCategoryList(ProjectCategory projectCategory);

    /**
     * 新增projectCategory
     * 
     * @param projectCategory projectCategory
     * @return 结果
     */
    public int insertProjectCategory(ProjectCategory projectCategory);

    /**
     * 修改projectCategory
     * 
     * @param projectCategory projectCategory
     * @return 结果
     */
    public int updateProjectCategory(ProjectCategory projectCategory);

    /**
     * 批量删除projectCategory
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteProjectCategoryByIds(String ids);

    /**
     * 删除projectCategory信息
     * 
     * @param id projectCategoryID
     * @return 结果
     */
    public int deleteProjectCategoryById(Long id);

    /**
     * 查询projectCategory树列表
     * 
     * @return 所有projectCategory信息
     */
    public List<Ztree> selectProjectCategoryTree();
}
